package com.app.mapper;

import com.app.vo.IndexVlogVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface VlogMapperCustom {
    //首页查询视频
    public List<IndexVlogVO> getIndexVlogList(@Param("paramMap")Map<String, Object> map);
    //搜索根据关键字查询视频
    public List<IndexVlogVO> getVlogDetailById(@Param("paramMap")Map<String, Object> map);
    //查询我喜欢视频
    public List<IndexVlogVO> getMyLikedVlogList(@Param("paramMap")Map<String, Object> map);
    //询用户关注的博主发布的短视频列表
    public List<IndexVlogVO> getMyFollowVlogList(@Param("paramMap")Map<String, Object> map);
    //查询朋友发布的短视频列表
    public List<IndexVlogVO> getMyFriendVlogList(@Param("paramMap")Map<String, Object> map);

}